package org.duomn.springmybatis.sample.service.impl;

import java.util.List;

import org.duomn.springmybatis.sample.dao.ISampleDao;
import org.duomn.springmybatis.sample.entity.Sample;
import org.duomn.springmybatis.sample.service.ISampleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SampleServiceImpl implements ISampleService {
	
	@Autowired
	private ISampleDao sampleDao;

	@Override
	public List<Sample> listSample() {
		return sampleDao.listSample();
	}

}
